import 'package:dio/dio.dart';
import '../public.dart';
import 'navigate_service.dart';
// import 'variable.dart';

class Application {
  static GetIt getIt = GetIt.instance;

  /// 项目初始化
  static Future init() async {
    await StorageManager.init();
    /// 注册服务
    getIt.registerSingleton(NavigateService());
  }
  static NavigateService get navigateService => getIt<NavigateService>();
}
